#pragma once



namespace DuiLib
{

	class UILIB_API CComboBoxItemDelegate : public CAbstractItemDelegate
	{
	public:
		CComboBoxItemDelegate();
		~CComboBoxItemDelegate();

	protected:
		virtual CControlUI* createEditor(CControlUI* target);

		virtual void  destroyEditor(CControlUI* editor);

		virtual void setEditorData(CControlUI* editor, const CModelIndex& index);

		virtual void setModelData(CControlUI* editor, const CModelIndex& index);

	};
}